package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Project: yunji-coffee
 * @Package com.yunji.cabinet.domain
 * @FileName CabinetTemplateCell.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @version 1.0
 * @since JDK 1.8.0_202
 * @CreateTime 2024-04-07 16:50:55
 * @Description 货柜模板格子信息
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo				2024-04-07 16:50:55		1.0					1.0 Version
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "template_cell", description = "货柜模板格子")
@TableName("template_cell")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CabinetTemplateCellDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -8789667114060933708L;

    @Excel(name = "格子ID")
    @ApiModelProperty("格子ID")
    @TableId(type = IdType.AUTO)
    private Long cellId;

    @Excel(name = "模板ID")
    @ApiModelProperty("模板ID")
    private Long templateId;

    @Excel(name = "商品ID")
    @ApiModelProperty(value = "商品ID", required = true)
    private Long productId;

    @Excel(name = "商品序号")
    @ApiModelProperty(value = "商品序号", required = true)
    private Integer ordinal;

    @Excel(name = "商品状态")
    @ApiModelProperty("商品状态")
    private Integer status;

}
